﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KOPLibrary.AutoTemplateDesign
{
    public enum ControlType
    {
        String, DateTime, Picture
    }
    public enum HorizontalAlignment
    {
        Left, Center, Right
    }
    public class TemplateDesignControl
    {
        public Guid Id { get; set; }
        public string LabelTitle { get; set; }
        public ControlType Type { get; set; }        
        public HorizontalAlignment LabelAlignment { get; set; }
        public HorizontalAlignment ControlAlignment { get; set; }
        public Guid FontStyleId { get; set; }
        public TemplateDesignControl(Guid id,string labelTitle,ControlType type,HorizontalAlignment labelAlg,HorizontalAlignment controlAlg,Guid fontStyleId)
        {
            Id = id;
            LabelTitle = labelTitle;
            Type = type;
            LabelAlignment = labelAlg;
            ControlAlignment = controlAlg;
            FontStyleId = fontStyleId;
        }

        public TemplateDesignControl(){;}
    }

}
